home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / etc / config.zyxel-1496e < prev    next >
Text File  |  1994-08-01  |  3KB  |  74 lines

  1. # $Header: /usr/people/sam/fax/etc/RCS/config.zyxel-1496e,v 1.17 1993/09/27 11:12:05 sam Rel $
  2. #
  3. # Configuration for a ZyXEL-1496E.  Firmware revisions from
  4. # 5.02 on should work, though rev 6.01 works much better.
  5. #
  6. # This configuration file sets up the ZyXEL to run at 38.4 for
  7. # both sending and receiving.  RTS/CTS flow control is used on
  8. # the tty port--you probably shouldn't use XON/XOFF.  Note that
  9. # on an SGI system the getty speed is the following non-standard
  10. # gettydefs entry:
  11. #
  12. # dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #dx_38400
  13. #
  14. # CONFIG: CLASS2: ZyXEL*
  15. #
  16. CountryCode:        1
  17. LongDistancePrefix:    1
  18. InternationalPrefix:    011
  19. AreaCode:        415
  20. DialStringRules:    etc/dialrules
  21. FAXNumber:        +1.415.965.7824
  22. ServerTracing:        1
  23. SessionTracing:        11
  24. RecvFileMode:        0600
  25. LogFileMode:        0600        # private log files
  26. DeviceMode:        0600        # device is accessible only to uucp/fax
  27. SpeakerVolume:        off
  28. RingsBeforeAnswer:    1        # answer on first ring
  29. #
  30. ModemType:        Class2        # use class 2 interface
  31. ModemRate:        38400        # 38.4 works fine
  32. #GettyArgs:        "-h %l dx_%s"    # NB: enable this for dialins
  33. ModemFlowControl:    rtscts
  34. ModemFlowControlCmd:    &H3        # hardware flow control
  35. ModemSetupDTRCmd:    &D2        # DTR off causes modem to hang up
  36. ModemSetupDCDCmd:    &C1        # DCD tracks carrier
  37. ModemSetupAACmd:    +FAA=1        # enable in current class
  38. #
  39. ModemSendFillOrder:    LSB2MSB        # as expected
  40. ModemRecvFillOrder:    MSB2LSB        # opposite of what makes sense
  41. Class2RecvDataTrigger:    "\022"        # a la 2388-B
  42. #
  43. # Additional reset commands:
  44. #
  45. # &B1      DTE-DCE rate is fixed at DTE setting
  46. # &N0      Auto-negotiate highest possible DCE-DCE link rate
  47. # &S0      DSR always on
  48. # *F0      Deny remote configuration
  49. # S18=2      Receive at 38400
  50. # S38.3=1 DCD on/off sequence follows UNIX standard; also
  51. #      fix receiving baud rate at S18 value
  52. # S39=0      (avoid Class 2 compatibility hacks)
  53. ModemResetCmds:        &B1&N0&S0*F0S18=2S38.3=1S39=0
  54. #
  55. # We normally append the "@" symbol to the dial string so that
  56. # the modem will wait 5 seconds before attempting to connect
  57. # and return result codes that distinguish between no carrier
  58. # and no answer.  This makes it possible to avoid problems with
  59. # repeatedly dialing a number that doesn't have a fax machine
  60. # (kudos to Stuart Lynne for this trick.)
  61. #
  62. # Unfortunately, ZyXEL's don't seem to detect a busy signal when
  63. # the @ symbol is used to terminate the dialing string.  Instead
  64. # calls to a busy line come back with a NO CARRIER status which
  65. # causes us to toss the job.  Consequently we fall back to the
  66. # normal method and raise the number of retries on a no carrier
  67. # status.  ZyXEL claims that this behaviour is not a bug, but 
  68. # rather that we are requesting ``an enhancement'' (never mind
  69. # that their manual says that it should work).
  70. #
  71. ModemDialCmd:        DT%s        # no '@' 'cuz then busy not recognized
  72. NoCarrierRetrys:    3        # retry 3 times on no carrier
  73.